package com.example.javaee_library.Controller;/**
 * @author Miao-yongzheng
 * @create 2021-12-24 16:28
 */

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @description:
 * @author: 34911
 * @time: 2021/12/24 16:28
 */
@Controller
public class test_controller {
    @RequestMapping("/index")
    public String toIndex(Model model) {
        model.addAttribute("msg","hello,Shiro");
        return "index1";
    }
}
